import React from "react";
const { default: LoginStore } = require("./login.Store");

class RootStore{
    constructor(){
        this.loginStore = new LoginStore()
    }
}
const StoreContext = React.createContext(new RootStore())
export const useStore = () => React.useContext(StoreContext)
